package mlz.arr;

import java.util.Arrays;

//动态初始化
public class Demo04 {
    public static void main(String[] args) {
        int[] arr = new int[5];
        System.out.println(arr);//[I@4eec7777
        //打印数组中所有的值
        System.out.println(Arrays.toString(arr));//[0, 0, 0, 0, 0]
    }
}
